{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 把训练集和验证集的影像切成256*256的Tile"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "import numpy as np\n",
    "import cv2\n",
    "import matplotlib.pyplot as plt\n",
    "from tqdm import tqdm"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "train_data_root = 'D:/Data/AerialImageDataset/train/images/0/'  # 训练集存放路径\n",
    "train_data_clipped_root = 'D:/Data/AerialImageDataset/train/images_clipped/0/'# 训练集输出路径\n",
    "train_mask_root = 'D:/Data/AerialImageDataset/train/gt/0/'  # 训练集mask存放路径\n",
    "train_mask_clipped_root = 'D:/Data/AerialImageDataset/train/gt_clipped/0/'# 训练集mask输出路径\n",
    "\n",
    "val_data_root = 'D:/Data/AerialImageDataset/val/images/0/'  # 验证集存放路径\n",
    "val_data_clipped_root = 'D:/Data/AerialImageDataset/val/images_clipped/0/'# 验证集输出路径\n",
    "val_mask_root = 'D:/Data/AerialImageDataset/val/gt/0/'  # 验证集mask存放路径\n",
    "val_mask_clipped_root = 'D:/Data/AerialImageDataset/val/gt_clipped/0/'# 验证集mask输出路径\n",
    "\n",
    "test_data_root = 'D:/Data/AerialImageDataset/test/images/0/'  # 测试集存放路径\n",
    "test_data_clipped_root = 'D:/Data/AerialImageDataset/test/images_clipped/0/'# 测试集输出路径\n",
    "\n",
    "size = 256\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "def clip2tile(input_dir,output_dir,is_mask=False,size=256):\n",
    "    for filename in tqdm(os.listdir(input_dir)):\n",
    "        print('processing :', filename)\n",
    "        fullname = input_dir + filename\n",
    "        \n",
    "        if is_mask:\n",
    "            img = cv2.imread(fullname, cv2.IMREAD_GRAYSCALE)\n",
    "#             print(img.shape)\n",
    "            paddedImg = np.pad(img[:,:], ((60,60),(60,60)), 'constant', constant_values=0)\n",
    "        else:\n",
    "            img = cv2.imread(fullname, cv2.IMREAD_COLOR)\n",
    "            img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)\n",
    "            # pad image\n",
    "            paddedR = np.pad(img[:,:,0], ((60,60),(60,60)), 'constant', constant_values=0)\n",
    "            paddedG = np.pad(img[:,:,1], ((60,60),(60,60)), 'constant', constant_values=0)\n",
    "            paddedB = np.pad(img[:,:,2], ((60,60),(60,60)), 'constant', constant_values=0)\n",
    "        #     paddedImg = np.stack([paddedR,paddedG,paddedB],axis=0) # (3, 5120, 5120)\n",
    "            paddedImg = np.stack([paddedR,paddedG,paddedB],axis=2) # (5120, 5120, 3)\n",
    "    #         print(paddedImg.shape)\n",
    "    \n",
    "        # split\n",
    "        rows = int(paddedImg.shape[0]/size)\n",
    "        cols = int(paddedImg.shape[1]/size)\n",
    "        for row in range(rows):\n",
    "            for col in range(cols):\n",
    "                if is_mask:\n",
    "                    part = paddedImg[row*size:(row+1)*size, col*size:(col+1)*size]\n",
    "                else:\n",
    "                    part = paddedImg[row*size:(row+1)*size, col*size:(col+1)*size, :]\n",
    "                out_filename = '{0}_{1}_{2}.jpg'.format(filename.split('.')[0],row,col)\n",
    "#                 print(out_filename)\n",
    "                cv2.imwrite(output_dir+out_filename, part)\n",
    "\n",
    "        print('finished :', filename)\n",
    "\n",
    "# clip2tile(val_data_root,val_data_clipped_root)\n",
    "# clip2tile(train_mask_root,train_mask_clipped_root, True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "train image dataset\n",
      "processing : austin1.tif\n",
      "finished : austin1.tif\n",
      "processing : austin10.tif\n",
      "finished : austin10.tif\n",
      "processing : austin11.tif\n",
      "finished : austin11.tif\n",
      "processing : austin12.tif\n",
      "finished : austin12.tif\n",
      "processing : austin13.tif\n",
      "finished : austin13.tif\n",
      "processing : austin14.tif\n",
      "finished : austin14.tif\n",
      "processing : austin15.tif\n",
      "finished : austin15.tif\n",
      "processing : austin16.tif\n",
      "finished : austin16.tif\n",
      "processing : austin17.tif\n",
      "finished : austin17.tif\n",
      "processing : austin18.tif\n",
      "finished : austin18.tif\n",
      "processing : austin19.tif\n",
      "finished : austin19.tif\n",
      "processing : austin2.tif\n",
      "finished : austin2.tif\n",
      "processing : austin20.tif\n",
      "finished : austin20.tif\n",
      "processing : austin21.tif\n",
      "finished : austin21.tif\n",
      "processing : austin22.tif\n",
      "finished : austin22.tif\n",
      "processing : austin23.tif\n",
      "finished : austin23.tif\n",
      "processing : austin24.tif\n",
      "finished : austin24.tif\n",
      "processing : austin25.tif\n",
      "finished : austin25.tif\n",
      "processing : austin26.tif\n",
      "finished : austin26.tif\n",
      "processing : austin27.tif\n",
      "finished : austin27.tif\n",
      "processing : austin28.tif\n",
      "finished : austin28.tif\n",
      "processing : austin29.tif\n",
      "finished : austin29.tif\n",
      "processing : austin3.tif\n",
      "finished : austin3.tif\n",
      "processing : austin30.tif\n",
      "finished : austin30.tif\n",
      "processing : austin4.tif\n",
      "finished : austin4.tif\n",
      "processing : austin5.tif\n",
      "finished : austin5.tif\n",
      "processing : austin6.tif\n",
      "finished : austin6.tif\n",
      "processing : austin7.tif\n",
      "finished : austin7.tif\n",
      "processing : austin8.tif\n",
      "finished : austin8.tif\n",
      "processing : austin9.tif\n",
      "finished : austin9.tif\n",
      "processing : chicago1.tif\n",
      "finished : chicago1.tif\n",
      "processing : chicago10.tif\n",
      "finished : chicago10.tif\n",
      "processing : chicago11.tif\n",
      "finished : chicago11.tif\n",
      "processing : chicago12.tif\n",
      "finished : chicago12.tif\n",
      "processing : chicago13.tif\n",
      "finished : chicago13.tif\n",
      "processing : chicago14.tif\n",
      "finished : chicago14.tif\n",
      "processing : chicago15.tif\n",
      "finished : chicago15.tif\n",
      "processing : chicago16.tif\n",
      "finished : chicago16.tif\n",
      "processing : chicago17.tif\n",
      "finished : chicago17.tif\n",
      "processing : chicago18.tif\n",
      "finished : chicago18.tif\n",
      "processing : chicago19.tif\n",
      "finished : chicago19.tif\n",
      "processing : chicago2.tif\n",
      "finished : chicago2.tif\n",
      "processing : chicago20.tif\n",
      "finished : chicago20.tif\n",
      "processing : chicago21.tif\n",
      "finished : chicago21.tif\n",
      "processing : chicago22.tif\n",
      "finished : chicago22.tif\n",
      "processing : chicago23.tif\n",
      "finished : chicago23.tif\n",
      "processing : chicago24.tif\n",
      "finished : chicago24.tif\n",
      "processing : chicago25.tif\n",
      "finished : chicago25.tif\n",
      "processing : chicago26.tif\n",
      "finished : chicago26.tif\n",
      "processing : chicago27.tif\n",
      "finished : chicago27.tif\n",
      "processing : chicago28.tif\n",
      "finished : chicago28.tif\n",
      "processing : chicago29.tif\n",
      "finished : chicago29.tif\n",
      "processing : chicago3.tif\n",
      "finished : chicago3.tif\n",
      "processing : chicago30.tif\n",
      "finished : chicago30.tif\n",
      "processing : chicago4.tif\n",
      "finished : chicago4.tif\n",
      "processing : chicago5.tif\n",
      "finished : chicago5.tif\n",
      "processing : chicago6.tif\n",
      "finished : chicago6.tif\n",
      "processing : chicago7.tif\n",
      "finished : chicago7.tif\n",
      "processing : chicago8.tif\n",
      "finished : chicago8.tif\n",
      "processing : chicago9.tif\n",
      "finished : chicago9.tif\n",
      "processing : kitsap1.tif\n",
      "finished : kitsap1.tif\n",
      "processing : kitsap10.tif\n",
      "finished : kitsap10.tif\n",
      "processing : kitsap11.tif\n",
      "finished : kitsap11.tif\n",
      "processing : kitsap12.tif\n",
      "finished : kitsap12.tif\n",
      "processing : kitsap13.tif\n",
      "finished : kitsap13.tif\n",
      "processing : kitsap14.tif\n",
      "finished : kitsap14.tif\n",
      "processing : kitsap15.tif\n",
      "finished : kitsap15.tif\n",
      "processing : kitsap16.tif\n",
      "finished : kitsap16.tif\n",
      "processing : kitsap17.tif\n",
      "finished : kitsap17.tif\n",
      "processing : kitsap18.tif\n",
      "finished : kitsap18.tif\n",
      "processing : kitsap19.tif\n",
      "finished : kitsap19.tif\n",
      "processing : kitsap2.tif\n",
      "finished : kitsap2.tif\n",
      "processing : kitsap20.tif\n",
      "finished : kitsap20.tif\n",
      "processing : kitsap21.tif\n",
      "finished : kitsap21.tif\n",
      "processing : kitsap22.tif\n",
      "finished : kitsap22.tif\n",
      "processing : kitsap23.tif\n",
      "finished : kitsap23.tif\n",
      "processing : kitsap24.tif\n",
      "finished : kitsap24.tif\n",
      "processing : kitsap25.tif\n",
      "finished : kitsap25.tif\n",
      "processing : kitsap26.tif\n",
      "finished : kitsap26.tif\n",
      "processing : kitsap27.tif\n",
      "finished : kitsap27.tif\n",
      "processing : kitsap28.tif\n",
      "finished : kitsap28.tif\n",
      "processing : kitsap29.tif\n",
      "finished : kitsap29.tif\n",
      "processing : kitsap3.tif\n",
      "finished : kitsap3.tif\n",
      "processing : kitsap30.tif\n",
      "finished : kitsap30.tif\n",
      "processing : kitsap4.tif\n",
      "finished : kitsap4.tif\n",
      "processing : kitsap5.tif\n",
      "finished : kitsap5.tif\n",
      "processing : kitsap6.tif\n",
      "finished : kitsap6.tif\n",
      "processing : kitsap7.tif\n",
      "finished : kitsap7.tif\n",
      "processing : kitsap8.tif\n",
      "finished : kitsap8.tif\n",
      "processing : kitsap9.tif\n",
      "finished : kitsap9.tif\n",
      "processing : tyrol-w1.tif\n",
      "finished : tyrol-w1.tif\n",
      "processing : tyrol-w10.tif\n",
      "finished : tyrol-w10.tif\n",
      "processing : tyrol-w11.tif\n",
      "finished : tyrol-w11.tif\n",
      "processing : tyrol-w12.tif\n",
      "finished : tyrol-w12.tif\n",
      "processing : tyrol-w13.tif\n",
      "finished : tyrol-w13.tif\n",
      "processing : tyrol-w14.tif\n",
      "finished : tyrol-w14.tif\n",
      "processing : tyrol-w15.tif\n",
      "finished : tyrol-w15.tif\n",
      "processing : tyrol-w16.tif\n",
      "finished : tyrol-w16.tif\n",
      "processing : tyrol-w17.tif\n",
      "finished : tyrol-w17.tif\n",
      "processing : tyrol-w18.tif\n",
      "finished : tyrol-w18.tif\n",
      "processing : tyrol-w19.tif\n",
      "finished : tyrol-w19.tif\n",
      "processing : tyrol-w2.tif\n",
      "finished : tyrol-w2.tif\n",
      "processing : tyrol-w20.tif\n",
      "finished : tyrol-w20.tif\n",
      "processing : tyrol-w21.tif\n",
      "finished : tyrol-w21.tif\n",
      "processing : tyrol-w22.tif\n",
      "finished : tyrol-w22.tif\n",
      "processing : tyrol-w23.tif\n",
      "finished : tyrol-w23.tif\n",
      "processing : tyrol-w24.tif\n",
      "finished : tyrol-w24.tif\n",
      "processing : tyrol-w25.tif\n",
      "finished : tyrol-w25.tif\n",
      "processing : tyrol-w26.tif\n",
      "finished : tyrol-w26.tif\n",
      "processing : tyrol-w27.tif\n",
      "finished : tyrol-w27.tif\n",
      "processing : tyrol-w28.tif\n",
      "finished : tyrol-w28.tif\n",
      "processing : tyrol-w29.tif\n",
      "finished : tyrol-w29.tif\n",
      "processing : tyrol-w3.tif\n",
      "finished : tyrol-w3.tif\n",
      "processing : tyrol-w30.tif\n",
      "finished : tyrol-w30.tif\n",
      "processing : tyrol-w4.tif\n",
      "finished : tyrol-w4.tif\n",
      "processing : tyrol-w5.tif\n",
      "finished : tyrol-w5.tif\n",
      "processing : tyrol-w6.tif\n",
      "finished : tyrol-w6.tif\n",
      "processing : tyrol-w7.tif\n",
      "finished : tyrol-w7.tif\n",
      "processing : tyrol-w8.tif\n",
      "finished : tyrol-w8.tif\n",
      "processing : tyrol-w9.tif\n",
      "finished : tyrol-w9.tif\n",
      "processing : vienna1.tif\n",
      "finished : vienna1.tif\n",
      "processing : vienna10.tif\n",
      "finished : vienna10.tif\n",
      "processing : vienna11.tif\n",
      "finished : vienna11.tif\n",
      "processing : vienna12.tif\n",
      "finished : vienna12.tif\n",
      "processing : vienna13.tif\n",
      "finished : vienna13.tif\n",
      "processing : vienna14.tif\n",
      "finished : vienna14.tif\n",
      "processing : vienna15.tif\n",
      "finished : vienna15.tif\n",
      "processing : vienna16.tif\n",
      "finished : vienna16.tif\n",
      "processing : vienna17.tif\n",
      "finished : vienna17.tif\n",
      "processing : vienna18.tif\n",
      "finished : vienna18.tif\n",
      "processing : vienna19.tif\n",
      "finished : vienna19.tif\n",
      "processing : vienna2.tif\n",
      "finished : vienna2.tif\n",
      "processing : vienna20.tif\n",
      "finished : vienna20.tif\n",
      "processing : vienna21.tif\n",
      "finished : vienna21.tif\n",
      "processing : vienna22.tif\n",
      "finished : vienna22.tif\n",
      "processing : vienna23.tif\n",
      "finished : vienna23.tif\n",
      "processing : vienna24.tif\n",
      "finished : vienna24.tif\n",
      "processing : vienna25.tif\n",
      "finished : vienna25.tif\n",
      "processing : vienna26.tif\n",
      "finished : vienna26.tif\n",
      "processing : vienna27.tif\n",
      "finished : vienna27.tif\n",
      "processing : vienna28.tif\n",
      "finished : vienna28.tif\n",
      "processing : vienna29.tif\n",
      "finished : vienna29.tif\n",
      "processing : vienna3.tif\n",
      "finished : vienna3.tif\n",
      "processing : vienna30.tif\n",
      "finished : vienna30.tif\n",
      "processing : vienna4.tif\n",
      "finished : vienna4.tif\n",
      "processing : vienna5.tif\n",
      "finished : vienna5.tif\n",
      "processing : vienna6.tif\n",
      "finished : vienna6.tif\n",
      "processing : vienna7.tif\n",
      "finished : vienna7.tif\n",
      "processing : vienna8.tif\n",
      "finished : vienna8.tif\n",
      "processing : vienna9.tif\n",
      "finished : vienna9.tif\n",
      "train mask dataset\n",
      "processing : austin1.tif\n",
      "finished : austin1.tif\n",
      "processing : austin10.tif\n",
      "finished : austin10.tif\n",
      "processing : austin11.tif\n",
      "finished : austin11.tif\n",
      "processing : austin12.tif\n",
      "finished : austin12.tif\n",
      "processing : austin13.tif\n",
      "finished : austin13.tif\n",
      "processing : austin14.tif\n",
      "finished : austin14.tif\n",
      "processing : austin15.tif\n",
      "finished : austin15.tif\n",
      "processing : austin16.tif\n",
      "finished : austin16.tif\n",
      "processing : austin17.tif\n",
      "finished : austin17.tif\n",
      "processing : austin18.tif\n",
      "finished : austin18.tif\n",
      "processing : austin19.tif\n",
      "finished : austin19.tif\n",
      "processing : austin2.tif\n",
      "finished : austin2.tif\n",
      "processing : austin20.tif\n",
      "finished : austin20.tif\n",
      "processing : austin21.tif\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "finished : austin21.tif\n",
      "processing : austin22.tif\n",
      "finished : austin22.tif\n",
      "processing : austin23.tif\n",
      "finished : austin23.tif\n",
      "processing : austin24.tif\n",
      "finished : austin24.tif\n",
      "processing : austin25.tif\n",
      "finished : austin25.tif\n",
      "processing : austin26.tif\n",
      "finished : austin26.tif\n",
      "processing : austin27.tif\n",
      "finished : austin27.tif\n",
      "processing : austin28.tif\n",
      "finished : austin28.tif\n",
      "processing : austin29.tif\n",
      "finished : austin29.tif\n",
      "processing : austin3.tif\n",
      "finished : austin3.tif\n",
      "processing : austin30.tif\n",
      "finished : austin30.tif\n",
      "processing : austin4.tif\n",
      "finished : austin4.tif\n",
      "processing : austin5.tif\n",
      "finished : austin5.tif\n",
      "processing : austin6.tif\n",
      "finished : austin6.tif\n",
      "processing : austin7.tif\n",
      "finished : austin7.tif\n",
      "processing : austin8.tif\n",
      "finished : austin8.tif\n",
      "processing : austin9.tif\n",
      "finished : austin9.tif\n",
      "processing : chicago1.tif\n",
      "finished : chicago1.tif\n",
      "processing : chicago10.tif\n",
      "finished : chicago10.tif\n",
      "processing : chicago11.tif\n",
      "finished : chicago11.tif\n",
      "processing : chicago12.tif\n",
      "finished : chicago12.tif\n",
      "processing : chicago13.tif\n",
      "finished : chicago13.tif\n",
      "processing : chicago14.tif\n",
      "finished : chicago14.tif\n",
      "processing : chicago15.tif\n",
      "finished : chicago15.tif\n",
      "processing : chicago16.tif\n",
      "finished : chicago16.tif\n",
      "processing : chicago17.tif\n",
      "finished : chicago17.tif\n",
      "processing : chicago18.tif\n",
      "finished : chicago18.tif\n",
      "processing : chicago19.tif\n",
      "finished : chicago19.tif\n",
      "processing : chicago2.tif\n",
      "finished : chicago2.tif\n",
      "processing : chicago20.tif\n",
      "finished : chicago20.tif\n",
      "processing : chicago21.tif\n",
      "finished : chicago21.tif\n",
      "processing : chicago22.tif\n",
      "finished : chicago22.tif\n",
      "processing : chicago23.tif\n",
      "finished : chicago23.tif\n",
      "processing : chicago24.tif\n",
      "finished : chicago24.tif\n",
      "processing : chicago25.tif\n",
      "finished : chicago25.tif\n",
      "processing : chicago26.tif\n",
      "finished : chicago26.tif\n",
      "processing : chicago27.tif\n",
      "finished : chicago27.tif\n",
      "processing : chicago28.tif\n",
      "finished : chicago28.tif\n",
      "processing : chicago29.tif\n",
      "finished : chicago29.tif\n",
      "processing : chicago3.tif\n",
      "finished : chicago3.tif\n",
      "processing : chicago30.tif\n",
      "finished : chicago30.tif\n",
      "processing : chicago4.tif\n",
      "finished : chicago4.tif\n",
      "processing : chicago5.tif\n",
      "finished : chicago5.tif\n",
      "processing : chicago6.tif\n",
      "finished : chicago6.tif\n",
      "processing : chicago7.tif\n",
      "finished : chicago7.tif\n",
      "processing : chicago8.tif\n",
      "finished : chicago8.tif\n",
      "processing : chicago9.tif\n",
      "finished : chicago9.tif\n",
      "processing : kitsap1.tif\n",
      "finished : kitsap1.tif\n",
      "processing : kitsap10.tif\n",
      "finished : kitsap10.tif\n",
      "processing : kitsap11.tif\n",
      "finished : kitsap11.tif\n",
      "processing : kitsap12.tif\n",
      "finished : kitsap12.tif\n",
      "processing : kitsap13.tif\n",
      "finished : kitsap13.tif\n",
      "processing : kitsap14.tif\n",
      "finished : kitsap14.tif\n",
      "processing : kitsap15.tif\n",
      "finished : kitsap15.tif\n",
      "processing : kitsap16.tif\n",
      "finished : kitsap16.tif\n",
      "processing : kitsap17.tif\n",
      "finished : kitsap17.tif\n",
      "processing : kitsap18.tif\n",
      "finished : kitsap18.tif\n",
      "processing : kitsap19.tif\n",
      "finished : kitsap19.tif\n",
      "processing : kitsap2.tif\n",
      "finished : kitsap2.tif\n",
      "processing : kitsap20.tif\n",
      "finished : kitsap20.tif\n",
      "processing : kitsap21.tif\n",
      "finished : kitsap21.tif\n",
      "processing : kitsap22.tif\n",
      "finished : kitsap22.tif\n",
      "processing : kitsap23.tif\n",
      "finished : kitsap23.tif\n",
      "processing : kitsap24.tif\n",
      "finished : kitsap24.tif\n",
      "processing : kitsap25.tif\n",
      "finished : kitsap25.tif\n",
      "processing : kitsap26.tif\n",
      "finished : kitsap26.tif\n",
      "processing : kitsap27.tif\n",
      "finished : kitsap27.tif\n",
      "processing : kitsap28.tif\n",
      "finished : kitsap28.tif\n",
      "processing : kitsap29.tif\n",
      "finished : kitsap29.tif\n",
      "processing : kitsap3.tif\n",
      "finished : kitsap3.tif\n",
      "processing : kitsap30.tif\n",
      "finished : kitsap30.tif\n",
      "processing : kitsap4.tif\n",
      "finished : kitsap4.tif\n",
      "processing : kitsap5.tif\n",
      "finished : kitsap5.tif\n",
      "processing : kitsap6.tif\n",
      "finished : kitsap6.tif\n",
      "processing : kitsap7.tif\n",
      "finished : kitsap7.tif\n",
      "processing : kitsap8.tif\n",
      "finished : kitsap8.tif\n",
      "processing : kitsap9.tif\n",
      "finished : kitsap9.tif\n",
      "processing : tyrol-w1.tif\n",
      "finished : tyrol-w1.tif\n",
      "processing : tyrol-w10.tif\n",
      "finished : tyrol-w10.tif\n",
      "processing : tyrol-w11.tif\n",
      "finished : tyrol-w11.tif\n",
      "processing : tyrol-w12.tif\n",
      "finished : tyrol-w12.tif\n",
      "processing : tyrol-w13.tif\n",
      "finished : tyrol-w13.tif\n",
      "processing : tyrol-w14.tif\n",
      "finished : tyrol-w14.tif\n",
      "processing : tyrol-w15.tif\n",
      "finished : tyrol-w15.tif\n",
      "processing : tyrol-w16.tif\n",
      "finished : tyrol-w16.tif\n",
      "processing : tyrol-w17.tif\n",
      "finished : tyrol-w17.tif\n",
      "processing : tyrol-w18.tif\n",
      "finished : tyrol-w18.tif\n",
      "processing : tyrol-w19.tif\n",
      "finished : tyrol-w19.tif\n",
      "processing : tyrol-w2.tif\n",
      "finished : tyrol-w2.tif\n",
      "processing : tyrol-w20.tif\n",
      "finished : tyrol-w20.tif\n",
      "processing : tyrol-w21.tif\n",
      "finished : tyrol-w21.tif\n",
      "processing : tyrol-w22.tif\n",
      "finished : tyrol-w22.tif\n",
      "processing : tyrol-w23.tif\n",
      "finished : tyrol-w23.tif\n",
      "processing : tyrol-w24.tif\n",
      "finished : tyrol-w24.tif\n",
      "processing : tyrol-w25.tif\n",
      "finished : tyrol-w25.tif\n",
      "processing : tyrol-w26.tif\n",
      "finished : tyrol-w26.tif\n",
      "processing : tyrol-w27.tif\n",
      "finished : tyrol-w27.tif\n",
      "processing : tyrol-w28.tif\n",
      "finished : tyrol-w28.tif\n",
      "processing : tyrol-w29.tif\n",
      "finished : tyrol-w29.tif\n",
      "processing : tyrol-w3.tif\n",
      "finished : tyrol-w3.tif\n",
      "processing : tyrol-w30.tif\n",
      "finished : tyrol-w30.tif\n",
      "processing : tyrol-w4.tif\n",
      "finished : tyrol-w4.tif\n",
      "processing : tyrol-w5.tif\n",
      "finished : tyrol-w5.tif\n",
      "processing : tyrol-w6.tif\n",
      "finished : tyrol-w6.tif\n",
      "processing : tyrol-w7.tif\n",
      "finished : tyrol-w7.tif\n",
      "processing : tyrol-w8.tif\n",
      "finished : tyrol-w8.tif\n",
      "processing : tyrol-w9.tif\n",
      "finished : tyrol-w9.tif\n",
      "processing : vienna1.tif\n",
      "finished : vienna1.tif\n",
      "processing : vienna10.tif\n",
      "finished : vienna10.tif\n",
      "processing : vienna11.tif\n",
      "finished : vienna11.tif\n",
      "processing : vienna12.tif\n",
      "finished : vienna12.tif\n",
      "processing : vienna13.tif\n",
      "finished : vienna13.tif\n",
      "processing : vienna14.tif\n",
      "finished : vienna14.tif\n",
      "processing : vienna15.tif\n",
      "finished : vienna15.tif\n",
      "processing : vienna16.tif\n",
      "finished : vienna16.tif\n",
      "processing : vienna17.tif\n",
      "finished : vienna17.tif\n",
      "processing : vienna18.tif\n",
      "finished : vienna18.tif\n",
      "processing : vienna19.tif\n",
      "finished : vienna19.tif\n",
      "processing : vienna2.tif\n",
      "finished : vienna2.tif\n",
      "processing : vienna20.tif\n",
      "finished : vienna20.tif\n",
      "processing : vienna21.tif\n",
      "finished : vienna21.tif\n",
      "processing : vienna22.tif\n",
      "finished : vienna22.tif\n",
      "processing : vienna23.tif\n",
      "finished : vienna23.tif\n",
      "processing : vienna24.tif\n",
      "finished : vienna24.tif\n",
      "processing : vienna25.tif\n",
      "finished : vienna25.tif\n",
      "processing : vienna26.tif\n",
      "finished : vienna26.tif\n",
      "processing : vienna27.tif\n",
      "finished : vienna27.tif\n",
      "processing : vienna28.tif\n",
      "finished : vienna28.tif\n",
      "processing : vienna29.tif\n",
      "finished : vienna29.tif\n",
      "processing : vienna3.tif\n",
      "finished : vienna3.tif\n",
      "processing : vienna30.tif\n",
      "finished : vienna30.tif\n",
      "processing : vienna4.tif\n",
      "finished : vienna4.tif\n",
      "processing : vienna5.tif\n",
      "finished : vienna5.tif\n",
      "processing : vienna6.tif\n",
      "finished : vienna6.tif\n",
      "processing : vienna7.tif\n",
      "finished : vienna7.tif\n",
      "processing : vienna8.tif\n",
      "finished : vienna8.tif\n",
      "processing : vienna9.tif\n",
      "finished : vienna9.tif\n"
     ]
    }
   ],
   "source": [
    "print('train image dataset')\n",
    "clip2tile(train_data_root,train_data_clipped_root)\n",
    "print('train mask dataset')\n",
    "clip2tile(train_mask_root,train_mask_clipped_root, True)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "val image dataset\n",
      "processing : austin31.tif\n",
      "finished : austin31.tif\n",
      "processing : austin32.tif\n",
      "finished : austin32.tif\n",
      "processing : austin33.tif\n",
      "finished : austin33.tif\n",
      "processing : austin34.tif\n",
      "finished : austin34.tif\n",
      "processing : austin35.tif\n",
      "finished : austin35.tif\n",
      "processing : austin36.tif\n",
      "finished : austin36.tif\n",
      "processing : chicago31.tif\n",
      "finished : chicago31.tif\n",
      "processing : chicago32.tif\n",
      "finished : chicago32.tif\n",
      "processing : chicago33.tif\n",
      "finished : chicago33.tif\n",
      "processing : chicago34.tif\n",
      "finished : chicago34.tif\n",
      "processing : chicago35.tif\n",
      "finished : chicago35.tif\n",
      "processing : chicago36.tif\n",
      "finished : chicago36.tif\n",
      "processing : kitsap31.tif\n",
      "finished : kitsap31.tif\n",
      "processing : kitsap32.tif\n",
      "finished : kitsap32.tif\n",
      "processing : kitsap33.tif\n",
      "finished : kitsap33.tif\n",
      "processing : kitsap34.tif\n",
      "finished : kitsap34.tif\n",
      "processing : kitsap35.tif\n",
      "finished : kitsap35.tif\n",
      "processing : kitsap36.tif\n",
      "finished : kitsap36.tif\n",
      "processing : tyrol-w31.tif\n",
      "finished : tyrol-w31.tif\n",
      "processing : tyrol-w32.tif\n",
      "finished : tyrol-w32.tif\n",
      "processing : tyrol-w33.tif\n",
      "finished : tyrol-w33.tif\n",
      "processing : tyrol-w34.tif\n",
      "finished : tyrol-w34.tif\n",
      "processing : tyrol-w35.tif\n",
      "finished : tyrol-w35.tif\n",
      "processing : tyrol-w36.tif\n",
      "finished : tyrol-w36.tif\n",
      "processing : vienna31.tif\n",
      "finished : vienna31.tif\n",
      "processing : vienna32.tif\n",
      "finished : vienna32.tif\n",
      "processing : vienna33.tif\n",
      "finished : vienna33.tif\n",
      "processing : vienna34.tif\n",
      "finished : vienna34.tif\n",
      "processing : vienna35.tif\n",
      "finished : vienna35.tif\n",
      "processing : vienna36.tif\n",
      "finished : vienna36.tif\n",
      "val mask dataset\n",
      "processing : austin31.tif\n",
      "finished : austin31.tif\n",
      "processing : austin32.tif\n",
      "finished : austin32.tif\n",
      "processing : austin33.tif\n",
      "finished : austin33.tif\n",
      "processing : austin34.tif\n",
      "finished : austin34.tif\n",
      "processing : austin35.tif\n",
      "finished : austin35.tif\n",
      "processing : austin36.tif\n",
      "finished : austin36.tif\n",
      "processing : chicago31.tif\n",
      "finished : chicago31.tif\n",
      "processing : chicago32.tif\n",
      "finished : chicago32.tif\n",
      "processing : chicago33.tif\n",
      "finished : chicago33.tif\n",
      "processing : chicago34.tif\n",
      "finished : chicago34.tif\n",
      "processing : chicago35.tif\n",
      "finished : chicago35.tif\n",
      "processing : chicago36.tif\n",
      "finished : chicago36.tif\n",
      "processing : kitsap31.tif\n",
      "finished : kitsap31.tif\n",
      "processing : kitsap32.tif\n",
      "finished : kitsap32.tif\n",
      "processing : kitsap33.tif\n",
      "finished : kitsap33.tif\n",
      "processing : kitsap34.tif\n",
      "finished : kitsap34.tif\n",
      "processing : kitsap35.tif\n",
      "finished : kitsap35.tif\n",
      "processing : kitsap36.tif\n",
      "finished : kitsap36.tif\n",
      "processing : tyrol-w31.tif\n",
      "finished : tyrol-w31.tif\n",
      "processing : tyrol-w32.tif\n",
      "finished : tyrol-w32.tif\n",
      "processing : tyrol-w33.tif\n",
      "finished : tyrol-w33.tif\n",
      "processing : tyrol-w34.tif\n",
      "finished : tyrol-w34.tif\n",
      "processing : tyrol-w35.tif\n",
      "finished : tyrol-w35.tif\n",
      "processing : tyrol-w36.tif\n",
      "finished : tyrol-w36.tif\n",
      "processing : vienna31.tif\n",
      "finished : vienna31.tif\n",
      "processing : vienna32.tif\n",
      "finished : vienna32.tif\n",
      "processing : vienna33.tif\n",
      "finished : vienna33.tif\n",
      "processing : vienna34.tif\n",
      "finished : vienna34.tif\n",
      "processing : vienna35.tif\n",
      "finished : vienna35.tif\n",
      "processing : vienna36.tif\n",
      "finished : vienna36.tif\n"
     ]
    }
   ],
   "source": [
    "print('val image dataset')\n",
    "clip2tile(val_data_root,val_data_clipped_root)\n",
    "print('val mask dataset')\n",
    "clip2tile(val_mask_root,val_mask_clipped_root, True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "test image dataset\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  0%|                                                                                          | 0/180 [00:00<?, ?it/s]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham1.tif\n",
      "finished : bellingham1.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  1%|▍                                                                                 | 1/180 [00:05<15:51,  5.31s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham10.tif\n",
      "finished : bellingham10.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  1%|▉                                                                                 | 2/180 [00:10<16:04,  5.42s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham11.tif\n",
      "finished : bellingham11.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  2%|█▎                                                                                | 3/180 [00:16<16:12,  5.50s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham12.tif\n",
      "finished : bellingham12.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  2%|█▊                                                                                | 4/180 [00:22<16:26,  5.60s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham13.tif\n",
      "finished : bellingham13.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  3%|██▎                                                                               | 5/180 [00:28<16:23,  5.62s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham14.tif\n",
      "finished : bellingham14.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  3%|██▋                                                                               | 6/180 [00:33<16:23,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham15.tif\n",
      "finished : bellingham15.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  4%|███▏                                                                              | 7/180 [00:39<16:27,  5.71s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham16.tif\n",
      "finished : bellingham16.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  4%|███▋                                                                              | 8/180 [00:45<16:22,  5.71s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham17.tif\n",
      "finished : bellingham17.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  5%|████                                                                              | 9/180 [00:51<16:19,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham18.tif\n",
      "finished : bellingham18.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  6%|████▌                                                                            | 10/180 [00:57<16:17,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham19.tif\n",
      "finished : bellingham19.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  6%|████▉                                                                            | 11/180 [01:03<16:12,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham2.tif\n",
      "finished : bellingham2.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  7%|█████▍                                                                           | 12/180 [01:08<16:05,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham20.tif\n",
      "finished : bellingham20.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  7%|█████▊                                                                           | 13/180 [01:14<16:00,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham21.tif\n",
      "finished : bellingham21.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  8%|██████▎                                                                          | 14/180 [01:20<15:56,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham22.tif\n",
      "finished : bellingham22.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  8%|██████▊                                                                          | 15/180 [01:26<15:48,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham23.tif\n",
      "finished : bellingham23.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  9%|███████▏                                                                         | 16/180 [01:31<15:39,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham24.tif\n",
      "finished : bellingham24.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      "  9%|███████▋                                                                         | 17/180 [01:37<15:32,  5.72s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham25.tif\n",
      "finished : bellingham25.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 10%|████████                                                                         | 18/180 [01:42<15:25,  5.71s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham26.tif\n",
      "finished : bellingham26.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 11%|████████▌                                                                        | 19/180 [01:48<15:20,  5.72s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham27.tif\n",
      "finished : bellingham27.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 11%|█████████                                                                        | 20/180 [01:54<15:14,  5.72s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham28.tif\n",
      "finished : bellingham28.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 12%|█████████▍                                                                       | 21/180 [02:00<15:08,  5.72s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham29.tif\n",
      "finished : bellingham29.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 12%|█████████▉                                                                       | 22/180 [02:05<15:02,  5.71s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham3.tif\n",
      "finished : bellingham3.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 13%|██████████▎                                                                      | 23/180 [02:11<14:56,  5.71s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham30.tif\n",
      "finished : bellingham30.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 13%|██████████▊                                                                      | 24/180 [02:17<14:52,  5.72s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham31.tif\n",
      "finished : bellingham31.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 14%|███████████▎                                                                     | 25/180 [02:23<14:47,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham32.tif\n",
      "finished : bellingham32.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 14%|███████████▋                                                                     | 26/180 [02:29<14:43,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham33.tif\n",
      "finished : bellingham33.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 15%|████████████▏                                                                    | 27/180 [02:35<14:39,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham34.tif\n",
      "finished : bellingham34.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 16%|████████████▌                                                                    | 28/180 [02:41<14:34,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham35.tif\n",
      "finished : bellingham35.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 16%|█████████████                                                                    | 29/180 [02:46<14:29,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham36.tif\n",
      "finished : bellingham36.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 17%|█████████████▌                                                                   | 30/180 [02:52<14:22,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham4.tif\n",
      "finished : bellingham4.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 17%|█████████████▉                                                                   | 31/180 [02:58<14:16,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham5.tif\n",
      "finished : bellingham5.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 18%|██████████████▍                                                                  | 32/180 [03:04<14:11,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham6.tif\n",
      "finished : bellingham6.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 18%|██████████████▊                                                                  | 33/180 [03:09<14:05,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham7.tif\n",
      "finished : bellingham7.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 19%|███████████████▎                                                                 | 34/180 [03:16<14:01,  5.77s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham8.tif\n",
      "finished : bellingham8.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 19%|███████████████▊                                                                 | 35/180 [03:21<13:55,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bellingham9.tif\n",
      "finished : bellingham9.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 20%|████████████████▏                                                                | 36/180 [03:27<13:48,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington1.tif\n",
      "finished : bloomington1.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 21%|████████████████▋                                                                | 37/180 [03:32<13:41,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington10.tif\n",
      "finished : bloomington10.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 21%|█████████████████                                                                | 38/180 [03:38<13:35,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington11.tif\n",
      "finished : bloomington11.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 22%|█████████████████▌                                                               | 39/180 [03:43<13:29,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington12.tif\n",
      "finished : bloomington12.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 22%|██████████████████                                                               | 40/180 [03:49<13:23,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington13.tif\n",
      "finished : bloomington13.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 23%|██████████████████▍                                                              | 41/180 [03:55<13:18,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington14.tif\n",
      "finished : bloomington14.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 23%|██████████████████▉                                                              | 42/180 [04:01<13:12,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington15.tif\n",
      "finished : bloomington15.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 24%|███████████████████▎                                                             | 43/180 [04:06<13:06,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington16.tif\n",
      "finished : bloomington16.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 24%|███████████████████▊                                                             | 44/180 [04:12<13:00,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington17.tif\n",
      "finished : bloomington17.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 25%|████████████████████▎                                                            | 45/180 [04:18<12:54,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington18.tif\n",
      "finished : bloomington18.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 26%|████████████████████▋                                                            | 46/180 [04:23<12:48,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington19.tif\n",
      "finished : bloomington19.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 26%|█████████████████████▏                                                           | 47/180 [04:29<12:42,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington2.tif\n",
      "finished : bloomington2.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 27%|█████████████████████▌                                                           | 48/180 [04:35<12:37,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington20.tif\n",
      "finished : bloomington20.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 27%|██████████████████████                                                           | 49/180 [04:40<12:30,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington21.tif\n",
      "finished : bloomington21.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 28%|██████████████████████▌                                                          | 50/180 [04:46<12:24,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington22.tif\n",
      "finished : bloomington22.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 28%|██████████████████████▉                                                          | 51/180 [04:52<12:18,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington23.tif\n",
      "finished : bloomington23.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 29%|███████████████████████▍                                                         | 52/180 [04:58<12:13,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington24.tif\n",
      "finished : bloomington24.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 29%|███████████████████████▊                                                         | 53/180 [05:03<12:07,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington25.tif\n",
      "finished : bloomington25.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 30%|████████████████████████▎                                                        | 54/180 [05:09<12:02,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington26.tif\n",
      "finished : bloomington26.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 31%|████████████████████████▊                                                        | 55/180 [05:15<11:57,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington27.tif\n",
      "finished : bloomington27.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 31%|█████████████████████████▏                                                       | 56/180 [05:21<11:51,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington28.tif\n",
      "finished : bloomington28.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 32%|█████████████████████████▋                                                       | 57/180 [05:27<11:46,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington29.tif\n",
      "finished : bloomington29.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 32%|██████████████████████████                                                       | 58/180 [05:33<11:40,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington3.tif\n",
      "finished : bloomington3.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 33%|██████████████████████████▌                                                      | 59/180 [05:38<11:34,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington30.tif\n",
      "finished : bloomington30.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 33%|███████████████████████████                                                      | 60/180 [05:44<11:29,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington31.tif\n",
      "finished : bloomington31.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 34%|███████████████████████████▍                                                     | 61/180 [05:50<11:24,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington32.tif\n",
      "finished : bloomington32.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 34%|███████████████████████████▉                                                     | 62/180 [05:56<11:18,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington33.tif\n",
      "finished : bloomington33.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 35%|████████████████████████████▎                                                    | 63/180 [06:02<11:13,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington34.tif\n",
      "finished : bloomington34.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 36%|████████████████████████████▊                                                    | 64/180 [06:08<11:08,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington35.tif\n",
      "finished : bloomington35.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 36%|█████████████████████████████▎                                                   | 65/180 [06:14<11:02,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington36.tif\n",
      "finished : bloomington36.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 37%|█████████████████████████████▋                                                   | 66/180 [06:20<10:56,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington4.tif\n",
      "finished : bloomington4.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 37%|██████████████████████████████▏                                                  | 67/180 [06:25<10:50,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington5.tif\n",
      "finished : bloomington5.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 38%|██████████████████████████████▌                                                  | 68/180 [06:31<10:44,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington6.tif\n",
      "finished : bloomington6.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 38%|███████████████████████████████                                                  | 69/180 [06:37<10:38,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington7.tif\n",
      "finished : bloomington7.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 39%|███████████████████████████████▌                                                 | 70/180 [06:42<10:33,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington8.tif\n",
      "finished : bloomington8.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 39%|███████████████████████████████▉                                                 | 71/180 [06:48<10:27,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : bloomington9.tif\n",
      "finished : bloomington9.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 40%|████████████████████████████████▍                                                | 72/180 [06:54<10:21,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck1.tif\n",
      "finished : innsbruck1.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 41%|████████████████████████████████▊                                                | 73/180 [07:00<10:15,  5.76s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck10.tif\n",
      "finished : innsbruck10.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 41%|█████████████████████████████████▎                                               | 74/180 [07:05<10:09,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck11.tif\n",
      "finished : innsbruck11.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 42%|█████████████████████████████████▊                                               | 75/180 [07:11<10:03,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck12.tif\n",
      "finished : innsbruck12.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 42%|██████████████████████████████████▏                                              | 76/180 [07:16<09:57,  5.75s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck13.tif\n",
      "finished : innsbruck13.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 43%|██████████████████████████████████▋                                              | 77/180 [07:22<09:51,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck14.tif\n",
      "finished : innsbruck14.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 43%|███████████████████████████████████                                              | 78/180 [07:27<09:45,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck15.tif\n",
      "finished : innsbruck15.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 44%|███████████████████████████████████▌                                             | 79/180 [07:33<09:39,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck16.tif\n",
      "finished : innsbruck16.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 44%|████████████████████████████████████                                             | 80/180 [07:39<09:33,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck17.tif\n",
      "finished : innsbruck17.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 45%|████████████████████████████████████▍                                            | 81/180 [07:44<09:27,  5.74s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck18.tif\n",
      "finished : innsbruck18.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 46%|████████████████████████████████████▉                                            | 82/180 [07:50<09:21,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck19.tif\n",
      "finished : innsbruck19.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 46%|█████████████████████████████████████▎                                           | 83/180 [07:55<09:15,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck2.tif\n",
      "finished : innsbruck2.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 47%|█████████████████████████████████████▊                                           | 84/180 [08:01<09:09,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck20.tif\n",
      "finished : innsbruck20.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 47%|██████████████████████████████████████▎                                          | 85/180 [08:06<09:04,  5.73s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck21.tif\n",
      "finished : innsbruck21.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 48%|██████████████████████████████████████▋                                          | 86/180 [08:12<08:57,  5.72s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck22.tif\n",
      "finished : innsbruck22.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 48%|███████████████████████████████████████▏                                         | 87/180 [08:17<08:51,  5.72s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck23.tif\n",
      "finished : innsbruck23.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 49%|███████████████████████████████████████▌                                         | 88/180 [08:22<08:45,  5.72s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck24.tif\n",
      "finished : innsbruck24.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 49%|████████████████████████████████████████                                         | 89/180 [08:28<08:39,  5.71s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck25.tif\n",
      "finished : innsbruck25.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 50%|████████████████████████████████████████▌                                        | 90/180 [08:33<08:33,  5.71s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck26.tif\n",
      "finished : innsbruck26.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 51%|████████████████████████████████████████▉                                        | 91/180 [08:39<08:27,  5.70s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck27.tif\n",
      "finished : innsbruck27.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 51%|█████████████████████████████████████████▍                                       | 92/180 [08:44<08:21,  5.70s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck28.tif\n",
      "finished : innsbruck28.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 52%|█████████████████████████████████████████▊                                       | 93/180 [08:50<08:15,  5.70s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck29.tif\n",
      "finished : innsbruck29.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 52%|██████████████████████████████████████████▎                                      | 94/180 [08:55<08:10,  5.70s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck3.tif\n",
      "finished : innsbruck3.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 53%|██████████████████████████████████████████▊                                      | 95/180 [09:01<08:04,  5.70s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck30.tif\n",
      "finished : innsbruck30.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 53%|███████████████████████████████████████████▏                                     | 96/180 [09:06<07:58,  5.69s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck31.tif\n",
      "finished : innsbruck31.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 54%|███████████████████████████████████████████▋                                     | 97/180 [09:11<07:52,  5.69s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck32.tif\n",
      "finished : innsbruck32.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 54%|████████████████████████████████████████████                                     | 98/180 [09:16<07:46,  5.68s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck33.tif\n",
      "finished : innsbruck33.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 55%|████████████████████████████████████████████▌                                    | 99/180 [09:22<07:40,  5.68s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck34.tif\n",
      "finished : innsbruck34.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 56%|████████████████████████████████████████████▍                                   | 100/180 [09:28<07:34,  5.68s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck35.tif\n",
      "finished : innsbruck35.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 56%|████████████████████████████████████████████▉                                   | 101/180 [09:33<07:28,  5.68s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck36.tif\n",
      "finished : innsbruck36.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 57%|█████████████████████████████████████████████▎                                  | 102/180 [09:39<07:22,  5.68s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck4.tif\n",
      "finished : innsbruck4.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 57%|█████████████████████████████████████████████▊                                  | 103/180 [09:44<07:16,  5.67s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck5.tif\n",
      "finished : innsbruck5.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 58%|██████████████████████████████████████████████▏                                 | 104/180 [09:49<07:11,  5.67s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck6.tif\n",
      "finished : innsbruck6.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 58%|██████████████████████████████████████████████▋                                 | 105/180 [09:55<07:05,  5.67s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck7.tif\n",
      "finished : innsbruck7.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 59%|███████████████████████████████████████████████                                 | 106/180 [10:00<06:59,  5.67s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck8.tif\n",
      "finished : innsbruck8.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 59%|███████████████████████████████████████████████▌                                | 107/180 [10:06<06:53,  5.67s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : innsbruck9.tif\n",
      "finished : innsbruck9.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 60%|████████████████████████████████████████████████                                | 108/180 [10:11<06:47,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo1.tif\n",
      "finished : sfo1.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 61%|████████████████████████████████████████████████▍                               | 109/180 [10:17<06:42,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo10.tif\n",
      "finished : sfo10.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 61%|████████████████████████████████████████████████▉                               | 110/180 [10:22<06:36,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo11.tif\n",
      "finished : sfo11.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 62%|█████████████████████████████████████████████████▎                              | 111/180 [10:28<06:30,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo12.tif\n",
      "finished : sfo12.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 62%|█████████████████████████████████████████████████▊                              | 112/180 [10:34<06:24,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo13.tif\n",
      "finished : sfo13.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 63%|██████████████████████████████████████████████████▏                             | 113/180 [10:39<06:19,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo14.tif\n",
      "finished : sfo14.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 63%|██████████████████████████████████████████████████▋                             | 114/180 [10:45<06:13,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo15.tif\n",
      "finished : sfo15.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 64%|███████████████████████████████████████████████████                             | 115/180 [10:50<06:07,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo16.tif\n",
      "finished : sfo16.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 64%|███████████████████████████████████████████████████▌                            | 116/180 [10:56<06:02,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo17.tif\n",
      "finished : sfo17.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 65%|████████████████████████████████████████████████████                            | 117/180 [11:01<05:56,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo18.tif\n",
      "finished : sfo18.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 66%|████████████████████████████████████████████████████▍                           | 118/180 [11:07<05:50,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo19.tif\n",
      "finished : sfo19.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 66%|████████████████████████████████████████████████████▉                           | 119/180 [11:13<05:45,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo2.tif\n",
      "finished : sfo2.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 67%|█████████████████████████████████████████████████████▎                          | 120/180 [11:18<05:39,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo20.tif\n",
      "finished : sfo20.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 67%|█████████████████████████████████████████████████████▊                          | 121/180 [11:24<05:33,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo21.tif\n",
      "finished : sfo21.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 68%|██████████████████████████████████████████████████████▏                         | 122/180 [11:29<05:27,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo22.tif\n",
      "finished : sfo22.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 68%|██████████████████████████████████████████████████████▋                         | 123/180 [11:35<05:22,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo23.tif\n",
      "finished : sfo23.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 69%|███████████████████████████████████████████████████████                         | 124/180 [11:41<05:16,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo24.tif\n",
      "finished : sfo24.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 69%|███████████████████████████████████████████████████████▌                        | 125/180 [11:46<05:11,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo25.tif\n",
      "finished : sfo25.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 70%|████████████████████████████████████████████████████████                        | 126/180 [11:52<05:05,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo26.tif\n",
      "finished : sfo26.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 71%|████████████████████████████████████████████████████████▍                       | 127/180 [11:58<04:59,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo27.tif\n",
      "finished : sfo27.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 71%|████████████████████████████████████████████████████████▉                       | 128/180 [12:04<04:54,  5.66s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo28.tif\n",
      "finished : sfo28.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 72%|█████████████████████████████████████████████████████████▎                      | 129/180 [12:09<04:48,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo29.tif\n",
      "finished : sfo29.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 72%|█████████████████████████████████████████████████████████▊                      | 130/180 [12:15<04:42,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo3.tif\n",
      "finished : sfo3.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 73%|██████████████████████████████████████████████████████████▏                     | 131/180 [12:20<04:37,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo30.tif\n",
      "finished : sfo30.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 73%|██████████████████████████████████████████████████████████▋                     | 132/180 [12:26<04:31,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo31.tif\n",
      "finished : sfo31.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 74%|███████████████████████████████████████████████████████████                     | 133/180 [12:31<04:25,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo32.tif\n",
      "finished : sfo32.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 74%|███████████████████████████████████████████████████████████▌                    | 134/180 [12:37<04:19,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo33.tif\n",
      "finished : sfo33.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 75%|████████████████████████████████████████████████████████████                    | 135/180 [12:42<04:14,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo34.tif\n",
      "finished : sfo34.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 76%|████████████████████████████████████████████████████████████▍                   | 136/180 [12:48<04:08,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo35.tif\n",
      "finished : sfo35.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 76%|████████████████████████████████████████████████████████████▉                   | 137/180 [12:53<04:02,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo36.tif\n",
      "finished : sfo36.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 77%|█████████████████████████████████████████████████████████████▎                  | 138/180 [12:59<03:57,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo4.tif\n",
      "finished : sfo4.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 77%|█████████████████████████████████████████████████████████████▊                  | 139/180 [13:04<03:51,  5.65s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo5.tif\n",
      "finished : sfo5.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 78%|██████████████████████████████████████████████████████████████▏                 | 140/180 [13:10<03:45,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo6.tif\n",
      "finished : sfo6.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 78%|██████████████████████████████████████████████████████████████▋                 | 141/180 [13:15<03:40,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo7.tif\n",
      "finished : sfo7.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 79%|███████████████████████████████████████████████████████████████                 | 142/180 [13:21<03:34,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo8.tif\n",
      "finished : sfo8.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 79%|███████████████████████████████████████████████████████████████▌                | 143/180 [13:26<03:28,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : sfo9.tif\n",
      "finished : sfo9.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 80%|████████████████████████████████████████████████████████████████                | 144/180 [13:32<03:23,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e1.tif\n",
      "finished : tyrol-e1.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 81%|████████████████████████████████████████████████████████████████▍               | 145/180 [13:37<03:17,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e10.tif\n",
      "finished : tyrol-e10.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 81%|████████████████████████████████████████████████████████████████▉               | 146/180 [13:43<03:11,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e11.tif\n",
      "finished : tyrol-e11.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 82%|█████████████████████████████████████████████████████████████████▎              | 147/180 [13:48<03:06,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e12.tif\n",
      "finished : tyrol-e12.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 82%|█████████████████████████████████████████████████████████████████▊              | 148/180 [13:54<03:00,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e13.tif\n",
      "finished : tyrol-e13.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 83%|██████████████████████████████████████████████████████████████████▏             | 149/180 [13:59<02:54,  5.64s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e14.tif\n",
      "finished : tyrol-e14.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 83%|██████████████████████████████████████████████████████████████████▋             | 150/180 [14:04<02:48,  5.63s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e15.tif\n",
      "finished : tyrol-e15.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 84%|███████████████████████████████████████████████████████████████████             | 151/180 [14:10<02:43,  5.63s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e16.tif\n",
      "finished : tyrol-e16.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 84%|███████████████████████████████████████████████████████████████████▌            | 152/180 [14:15<02:37,  5.63s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e17.tif\n",
      "finished : tyrol-e17.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 85%|████████████████████████████████████████████████████████████████████            | 153/180 [14:21<02:32,  5.63s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e18.tif\n",
      "finished : tyrol-e18.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 86%|████████████████████████████████████████████████████████████████████▍           | 154/180 [14:26<02:26,  5.63s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e19.tif\n",
      "finished : tyrol-e19.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 86%|████████████████████████████████████████████████████████████████████▉           | 155/180 [14:32<02:20,  5.63s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e2.tif\n",
      "finished : tyrol-e2.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 87%|█████████████████████████████████████████████████████████████████████▎          | 156/180 [14:37<02:14,  5.62s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e20.tif\n",
      "finished : tyrol-e20.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 87%|█████████████████████████████████████████████████████████████████████▊          | 157/180 [14:42<02:09,  5.62s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e21.tif\n",
      "finished : tyrol-e21.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 88%|██████████████████████████████████████████████████████████████████████▏         | 158/180 [14:47<02:03,  5.62s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e22.tif\n",
      "finished : tyrol-e22.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 88%|██████████████████████████████████████████████████████████████████████▋         | 159/180 [14:53<01:58,  5.62s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e23.tif\n",
      "finished : tyrol-e23.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 89%|███████████████████████████████████████████████████████████████████████         | 160/180 [14:58<01:52,  5.62s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e24.tif\n",
      "finished : tyrol-e24.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 89%|███████████████████████████████████████████████████████████████████████▌        | 161/180 [15:04<01:46,  5.62s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e25.tif\n",
      "finished : tyrol-e25.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 90%|████████████████████████████████████████████████████████████████████████        | 162/180 [15:09<01:41,  5.62s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e26.tif\n",
      "finished : tyrol-e26.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 91%|████████████████████████████████████████████████████████████████████████▍       | 163/180 [15:14<01:35,  5.61s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e27.tif\n",
      "finished : tyrol-e27.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 91%|████████████████████████████████████████████████████████████████████████▉       | 164/180 [15:20<01:29,  5.61s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e28.tif\n",
      "finished : tyrol-e28.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 92%|█████████████████████████████████████████████████████████████████████████▎      | 165/180 [15:25<01:24,  5.61s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e29.tif\n",
      "finished : tyrol-e29.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 92%|█████████████████████████████████████████████████████████████████████████▊      | 166/180 [15:31<01:18,  5.61s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e3.tif\n",
      "finished : tyrol-e3.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 93%|██████████████████████████████████████████████████████████████████████████▏     | 167/180 [15:36<01:12,  5.61s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e30.tif\n",
      "finished : tyrol-e30.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 93%|██████████████████████████████████████████████████████████████████████████▋     | 168/180 [15:41<01:07,  5.61s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e31.tif\n",
      "finished : tyrol-e31.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 94%|███████████████████████████████████████████████████████████████████████████     | 169/180 [15:47<01:01,  5.60s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e32.tif\n",
      "finished : tyrol-e32.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 94%|███████████████████████████████████████████████████████████████████████████▌    | 170/180 [15:52<00:56,  5.60s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e33.tif\n",
      "finished : tyrol-e33.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 95%|████████████████████████████████████████████████████████████████████████████    | 171/180 [15:57<00:50,  5.60s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e34.tif\n",
      "finished : tyrol-e34.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 96%|████████████████████████████████████████████████████████████████████████████▍   | 172/180 [16:03<00:44,  5.60s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e35.tif\n",
      "finished : tyrol-e35.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 96%|████████████████████████████████████████████████████████████████████████████▉   | 173/180 [16:08<00:39,  5.60s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e36.tif\n",
      "finished : tyrol-e36.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 97%|█████████████████████████████████████████████████████████████████████████████▎  | 174/180 [16:13<00:33,  5.60s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e4.tif\n",
      "finished : tyrol-e4.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 97%|█████████████████████████████████████████████████████████████████████████████▊  | 175/180 [16:19<00:27,  5.59s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e5.tif\n",
      "finished : tyrol-e5.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 98%|██████████████████████████████████████████████████████████████████████████████▏ | 176/180 [16:24<00:22,  5.59s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e6.tif\n",
      "finished : tyrol-e6.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 98%|██████████████████████████████████████████████████████████████████████████████▋ | 177/180 [16:30<00:16,  5.59s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e7.tif\n",
      "finished : tyrol-e7.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 99%|███████████████████████████████████████████████████████████████████████████████ | 178/180 [16:35<00:11,  5.59s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e8.tif\n",
      "finished : tyrol-e8.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\r",
      " 99%|███████████████████████████████████████████████████████████████████████████████▌| 179/180 [16:40<00:05,  5.59s/it]"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "processing : tyrol-e9.tif\n",
      "finished : tyrol-e9.tif\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "100%|████████████████████████████████████████████████████████████████████████████████| 180/180 [16:46<00:00,  5.59s/it]\n"
     ]
    }
   ],
   "source": [
    "print('test image dataset')\n",
    "clip2tile(test_data_root,test_data_clipped_root)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
